package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.six.pojo.Dept;
import com.six.pojo.dto.DeptDto;
import com.six.pojo.vo.DeptVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptMapper extends BaseMapper<Dept> {
    Page<DeptDto> findAllByPageAndCondition(Page<Dept> page, @Param("vo") DeptVo vo);
}
